﻿using System.Configuration;
using log4net.Appender;

namespace Pyramid.Common
{
	public class MssqlAppender : AdoNetAppender
	{
		public new string ConnectionString
		{
			get { return base.ConnectionString; }
			set
			{
				base.ConnectionString = value != "dynamic" ? value : ConfigurationManager.ConnectionStrings["PyramidDbContext"].ConnectionString;
			}
		}
	}
}